<template>
  <el-form v-modle='tableData'>
    <el-card class="box-card">
      <span>退单信息</span>
      <el-form-item label="订单状态">
        <el-input v-model="tableData.statusString" disabled></el-input>
      </el-form-item>
      <el-form-item label="退单理由">
        <el-input v-model="tableData.backRemark" disabled></el-input>
      </el-form-item>
      <el-form-item label="退单申请时间">
        <el-input :value="getDate(tableData.backTime)" disabled></el-input>
      </el-form-item>
      <el-form-item label="审核备注">
        <el-input v-model="tableData.riskManagementReviewRemark" disabled></el-input>
      </el-form-item>
      <el-form-item label="审核人">
        <el-input v-model="tableData.riskManagementReviewName" disabled></el-input>
      </el-form-item>
      <el-form-item label="审核时间">
        <el-input :value="getDate(tableData.riskManagementReviewTime)" disabled></el-input>
      </el-form-item>
    </el-card>
  </el-form>
</template>


<script>
  import {timestampToTime} from '@/utils/index.js';

  export default {
    props: {
      tableData: {
        type: Object
      }
    },
    methods:{
      getDate(time){
        return timestampToTime(time)
      }
    }
  }

</script>

